Optimal. Leaf size=189 \[ \frac {\sqrt {c} \sqrt {\frac {b x^2}{a}+1} \sqrt {1-\frac {d x^2}{c}} (a d+b c) \operatorname {EllipticF}\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right ),-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {a+b x^2} \sqrt {c-d x^2}}-\frac {\sqrt {c} \sqrt {d} \sqrt {a+b x^2} \sqrt {1-\frac {d x^2}{c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|-\frac {b c}{a d}\right )}{b \sqrt {\frac {b x^2}{a}+1} \sqrt {c-d x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 189, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {423, 427, 426, 424, 421, 419} \[ \frac {\sqrt {c} \sqrt {\frac {b x^2}{a}+1} \sqrt {1-\frac {d x^2}{c}} (a d+b c) F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {a+b x^2} \sqrt {c-d x^2}}-\frac {\sqrt {c} \sqrt {d} \sqrt {a+b x^2} \sqrt {1-\frac {d x^2}{c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|-\frac {b c}{a d}\right )}{b \sqrt {\frac {b x^2}{a}+1} \sqrt {c-d x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 419
Rule 421
Rule 423
Rule 424
Rule 426
Rule 427
Rubi steps
\begin {align*} \int \frac {\sqrt {c-d x^2}}{\sqrt {a+b x^2}} \, dx &=-\frac {d \int \frac {\sqrt {a+b x^2}}{\sqrt {c-d x^2}} \, dx}{b}+\frac {(b c+a d) \int \frac {1}{\sqrt {a+b x^2} \sqrt {c-d x^2}} \, dx}{b}\\ &=-\frac {\left (d \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {\sqrt {a+b x^2}}{\sqrt {1-\frac {d x^2}{c}}} \, dx}{b \sqrt {c-d x^2}}+\frac {\left ((b c+a d) \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {1}{\sqrt {a+b x^2} \sqrt {1-\frac {d x^2}{c}}} \, dx}{b \sqrt {c-d x^2}}\\ &=-\frac {\left (d \sqrt {a+b x^2} \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {\sqrt {1+\frac {b x^2}{a}}}{\sqrt {1-\frac {d x^2}{c}}} \, dx}{b \sqrt {1+\frac {b x^2}{a}} \sqrt {c-d x^2}}+\frac {\left ((b c+a d) \sqrt {1+\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}}\right ) \int \frac {1}{\sqrt {1+\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}}} \, dx}{b \sqrt {a+b x^2} \sqrt {c-d x^2}}\\ &=-\frac {\sqrt {c} \sqrt {d} \sqrt {a+b x^2} \sqrt {1-\frac {d x^2}{c}} E\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|-\frac {b c}{a d}\right )}{b \sqrt {1+\frac {b x^2}{a}} \sqrt {c-d x^2}}+\frac {\sqrt {c} (b c+a d) \sqrt {1+\frac {b x^2}{a}} \sqrt {1-\frac {d x^2}{c}} F\left (\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {c}}\right )|-\frac {b c}{a d}\right )}{b \sqrt {d} \sqrt {a+b x^2} \sqrt {c-d x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 89, normalized size = 0.47 \[ \frac {\sqrt {\frac {a+b x^2}{a}} \sqrt {c-d x^2} E\left (\sin ^{-1}\left (\sqrt {-\frac {b}{a}} x\right )|-\frac {a d}{b c}\right )}{\sqrt {-\frac {b}{a}} \sqrt {a+b x^2} \sqrt {\frac {c-d x^2}{c}}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.73, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {\sqrt {-d x^{2} + c}}{\sqrt {b x^{2} + a}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {-d x^{2} + c}}{\sqrt {b x^{2} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 164, normalized size = 0.87 \[ \frac {\left (a d \EllipticE \left (\sqrt {\frac {d}{c}}\, x , \sqrt {-\frac {b c}{a d}}\right )-a d \EllipticF \left (\sqrt {\frac {d}{c}}\, x , \sqrt {-\frac {b c}{a d}}\right )-b c \EllipticF \left (\sqrt {\frac {d}{c}}\, x , \sqrt {-\frac {b c}{a d}}\right )\right ) \sqrt {-d \,x^{2}+c}\, \sqrt {b \,x^{2}+a}\, \sqrt {-\frac {d \,x^{2}-c}{c}}\, \sqrt {\frac {b \,x^{2}+a}{a}}}{\left (b d \,x^{4}+a d \,x^{2}-b c \,x^{2}-a c \right ) \sqrt {\frac {d}{c}}\, b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {-d x^{2} + c}}{\sqrt {b x^{2} + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\sqrt {c-d\,x^2}}{\sqrt {b\,x^2+a}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\sqrt {c - d x^{2}}}{\sqrt {a + b x^{2}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________